System and method for automatic voltage measurements of an electronic signal

ABSTRACT

A computer-based method for measuring a ringup, a ringdown and a ringback of an electronic signal is provided. The method includes fitting a ringdown fitting curve to approximate a first ringdown data, and fitting a ringup fitting curve to approximate a first ringup data. The method further includes calculating an approximate ringdown value according to the ringdown fitting curve, and calculating an approximate ringup value according to the ringup fitting curve. The approximate ringup and ringdown values are then used to obtain an accurate ringup value and an accurate ringup value respectively. An accurate ringback value is calculated by subtracting the accurate ringup value from the accurate ringdown value.

1. FIELD OF THE INVENTION

Embodiments of the present disclosure relate to systems and methods for signal measurements, and more particularly to systems and methods for measuring voltages of an electronic signal.

2. DESCRIPTION OF RELATED ART

Characterizing an electronic signal may include measuring various time and voltage measurements of the electronic signal. Time measurements may include measurements, such as a period, a rise time, and a fall time, for example. Voltage measurements may include measurements, such as an overshoot, an undershoot, an amplitude, and a ringback, for example.

FIG. 1 illustrates one example of several voltage measurements of an electronic signal, wherein a vertical axis of FIG. 1 represents voltage, a horizontal axis of FIG. 1 represents time, and “a” denotes an overshoot, “b” denotes an undershoot, “c” denotes a DC voltage high, “d” denotes a DC voltage low, “e” denotes a ringdown, “f” denotes a ringup, “g” denotes an amplitude, and “h” denotes a ringback.

Measuring instruments, such as oscilloscope can make some automatic voltage measurements of an electronic signal, such as an overshoot, an undershoot, and an amplitude. However, there is no measuring instrument that can automatically measure a ringdown, a ringup, and a ringback of an electronic signal. Thus, a user often has to manually identify the locations of a ringdown and a ringup in the waveforms of electronic signals, and then measures their values respectively.

What is needed, therefore, is a system and method for measuring various voltage measurements of an electronic signal, wherein increased accuracy and efficiency of the measurements can be achieved.

SUMMARY

In one aspect, a system for measuring a ringup, a ringdown and a ringback of an electronic signal is provided. The system comprises a data selecting, a curve fitting module, a first calculating module, a second calculating module, and at least one processor. The data selecting module is configured for reading test data from a test instrument, and is further configured for selecting a first ringdown data and a first ringup data from the test data. The curve fitting module is configured for fitting a ringdown fitting curve to approximate the first ringdown data, and is further configured for fitting a ringup fitting curve to approximate the first ringup data. The first calculating module is configured for calculating an approximate ringdown value according to the ringdown fitting curve, and is further configured for calculating an approximate ringup value according to the ringup fitting curve. The second calculating module is configured for calculating an accurate ringdown value based on the approximate ringdown value, is configured for calculating an accurate ringup value based on the approximate ringup value, and is further configured for calculating an accurate ringback value. The processor executes that data selecting module, the curve fitting module, the first calculating module, and the second calculating module.

In another aspect, a computer-based method for measuring a ringup, a ringdown and a ringback of an electronic signal is provided. The method comprises: reading test data from a test instrument, and selecting a first ringdown data and a first ringup data from the test data; fitting a ringdown fitting curve f₁(x) to approximate the first ringdown data, and fitting a ringup fitting curve f₂(x) to approximate the first ringup data; calculating an approximate ringdown value according to the ringdown fitting curve f₁(x), and calculating an approximate ringup value according to the ringup fitting curve f₂(x); calculating an accurate ringdown value based on the approximate ringdown value, and calculating an accurate ringup value based on the approximate ringup value; and calculating an accurate ringback value by subtracting the accurate ringup value from the accurate ringdown value.

In still another aspect, a computer-based method for measuring a ringup, a ringdown and a ringback of an electronic signal is provided. The method comprises: reading test data from a test instrument, and selecting a first ringdown data and a first ringup data from the test data, wherein the test data is depicted as {(x_(i),y_(i))}, the first ringdown data is depicted as {(x_(j),y_(j))}, and the first ringup data is depicted as {(x_(k),y_(k))}; fitting a ringdown fitting curve f₁(x) with a domain {x_(j)} to approximate the first ringdown data, and fitting a ringup fitting curve f₂(x) with a domain {x_(k)} to approximate the first ringup data; calculating all local minima of the ringdown fitting curve f₁(x) and calculating all local maxima of the ringup fitting curve f₂(x); selecting a minimum of the local minima of the ringdown fitting curve f₁(x) as an approximate ringdown value, and selecting a maximum of the local maxima of the ringup fitting curve f₂(x) as an approximate ringup value, wherein the approximate ringdown value is depicted as f₁(x₁₀), and the approximate ringup value is depicted as f₂(x₂₀); selecting a second ringdown data from the first ringdown data according to the approximate ringdown value, and selecting a second ringup data from the first ringup data according to the approximate ringup value; selecting a minimum of the second ringdown data as an accurate ringdown value, and selecting a maximum of the second ringup data as an accurate ringup value; and calculating an accurate ringback value by subtracting the accurate ringup value from the accurate ringdown value.

In yet another aspect, a computer-readable medium having stored thereon instructions for measuring a ringup, a ringdown and a ringback of an electronic signal is provided. When executed by a computer, the instructions cause the computer to: read test data from a test instrument, and select a first ringdown data and a first ringup data from the test data; fit a ringdown fitting curve f₁(x) to approximate the first ringdown data, and fit a ringup fitting curve f₂(x) to approximate the first ringup data; calculate an approximate ringdown value according to the ringdown fitting curve f₁(x), and calculate an approximate ringup value according to the ringup fitting curve f₂(x); calculate an accurate ringdown value based on the approximate ringdown value, and calculate an accurate ringup value based on the approximate ringup value; calculate an accurate ringback value by subtracting the accurate ringup value from the accurate ringdown value.

Other objects, advantages and novel features will become more apparent from the following detailed description of certain embodiments of the present disclosure when taken in conjunction with the accompanying drawings, in which:

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates one embodiment of several voltage measurements of an electronic signal;

FIG. 2 is a block diagram of one embodiment of a system comprising function modules for measuring voltage measurements of an electronic signal;

FIG. 3 is one embodiment of a voltage waveform of an electronic signal varying over time;

FIG. 4 illustrates one embodiment of local minima of a ringdown fitting curve f₁(x);

FIG. 5 illustrates one embodiment of local maxima of a ringup fitting curve f₂ (x);

FIG. 6 illustrates one embodiment of a method for calculating an accurate ringdown value from the first ringdown data;

FIG. 7 illustrates one embodiment of a method for calculating an accurate ringup value from the first ringup data; and

FIG. 8 is a flowchart of one embodiment of a method for measuring various voltage characteristics, such as a ringdown, a ringup, and a ringback from an electronic signal.

DETAILED DESCRIPTION OF CERTAIN INVENTIVE EMBODIMENTS

As used herein, the term, “ringdown” may be defined as a lowest edge of vibration in a stable range of a positive half-wave of an electronic signal. Likewise, the term, “ringup” may be defined as a lowest edge of vibration in a stable range of a negative half-wave of an electronic signal. Accordingly, the term, “ringback” may be defined as a difference between a ringdown and a ringup. It may be understood that the term, “data” may refer to a single data item or may refer to a plurality of data items. These terms, with reference to the FIGS. 1-8, will be described in greater detail below.

FIG. 2 is a block diagram of one embodiment of a system 1 comprising function modules for measuring voltage measurements of an electronic signal. The system 1 includes a data selecting module 11, a curve fitting module 12, a first calculating module 13, a second calculating module 14, and a result storing module 15. The system 1 may be executed by a computing device 16, such as a personal computer, for example. It may be understood that the computing device 16, may comprise one or more processors, such a processor 17 to compute the various modules 11, 12, 13, 14, 15 of the system 1.

The data selecting module 11 is configured for reading test data from a test instrument (e.g., an oscilloscope, multimeter, data acquisition unit (DAQ)) 18. The data selecting module 11 is further configured for selecting two sets of data from the test data comprising a ringdown and a ringup of an electronic signal. The test data is depicted as {(x_(i),y_(i))}, wherein x_(i) denotes a time, and y_(i) denotes a voltage at time x_(i).

FIG. 3 is one embodiment of a voltage waveform of an electronic signal varying over time. In the embodiment of FIG. 3, an input high voltage (VIH), a reference voltage (VREF), and an input low voltage (VIL) may be defined over one period. It may be understood that the terms VIH, VREF, and VREF are well-known terms in the field of circuit design. Accordingly, seven feature points of interest (“P₁” through “P₇”) may be derived from the electronic signal. In the embodiment of FIG. 3, a ringdown is located between an interval P₂˜P₃ and a ringup is located between an interval P₅˜P₆. The data selecting module 11 selects a set of data in the interval of P₂˜P₃ (thereinafter, “the first ringdown data”), and a set of data in the interval of P₅˜P₆ (thereinafter, “the first ringup data”) from the test data. The first ringdown data is used for measuring a ringdown, and the first ringup data is used for measuring a ringup. The first ringdown data is depicted as {(x_(j),y_(j))}, and the first ringup data is depicted as {(x_(k),y_(k))}, such that {(x_(j),y_(j))}⊂{(x_(i),y_(i))}, and {(x_(k),y_(k))}⊂{(x_(i),y_(i))}.

The curve fitting module 12 is configured for fitting a fitting curve, depicted as f₁(x), to approximate the first ringdown data (thereinafter, “the ringdown fitting curve”). The curve fitting module 12 is further configured for fitting another fitting curve, depicted as f₂(x), to approximate the first ringup data (thereinafter, “the ringup fitting curve”). The domain of f₁(x) is {x_(j)}, and the domain of f₂(x) is {x_(k)}. In one embodiment, one example of a general formula for fitting curves may be as follows:

${{y \approx {f(x)} \equiv {\sum\limits_{i = 0}^{m}{a_{i}{\varphi_{i}(x)}}}} = {{a_{0}{\varphi_{0}(x)}} + {a_{1}{\varphi_{1}(x)}} + \ldots + {a_{m}{\varphi_{m}(x)}}}},$

wherein f(x) is a fitting curve to a given set of data (e.g., {(x_(j),y_(j))}), φ_(i)(x)(i=0,1,2, . . . ,m) is a group of linear independent functions, and a_(i)(i=0,1,2, . . . ,m) is a group of undetermined coefficients. Polynomials are one of the most commonly used types of fitting curves to approximate a given set of data. In one example, setting φ_(i)(x)=x^(i),i=0,1,2, . . . ,m, then

${y \approx {f(x)} \equiv {\sum\limits_{i = 0}^{m}{a_{i}{\varphi_{i}(x)}}}} = {a_{0} + {a_{1}x^{1}} + {a_{2}x^{2}} + \ldots + {a_{m}{x^{m}.}}}$

Depending on the embodiment, a Legendre polynomial, a Chebyshev polynomial, or a trigonometric polynomial may also be used to approximate a given set of data. In one embodiment, to determine the undetermined coefficients of the above mentioned equation, the method of least squares may be used. In one embodiment, the method of least squares may be defined by minimizing the value of

$\sum\limits_{i = 0}^{n}{\left\lbrack {{f\left( x_{i} \right)} - y_{i}} \right\rbrack^{2}.}$

However, in another embodiment, a fitting curve for an electronic signal may also be obtained by using other methods, such as a simplex method or a quasi-Newton method, for example.

The first calculating module 13 is configured for calculating an approximate ringdown value by evaluating a local minimum of f₁(x) and an approximate ringup value by evaluating a local maximum of f₂(x).

The ringdown value may be defined as a local minimum of f₁(x), and the ringup value may be defined as a local maximum of f₂(x). According to the second derivative test, the first calculating module 13 calculates a first order differential and a second order differential of f₁(x) for each x_(j), so as to obtain a first order differential set {f₁′(x_(j))} and a second order differential set {f₁″(x_(j))}. Likewise, the first calculating module 13 calculates a first order differential and a second order differential of f₁(x) for each x_(k), so as to obtain a first order differential set {f₂′(x_(k))} and a second order differential set {f₂″(x_(k))}. The first calculating module 13 determines each x_(j0) to satisfy a requirement of f₁′(x_(j0))=0 and a requirement of f₁″(x_(j0))>0, wherein x_(j0)ε{x_(j)}. f₁(x_(j0)) is a local minimum of f₁(x), and all the local minima of f₁(x) may be depicted as {f₁(x_(j0))}. Likewise, the first calculating module 13 determines each x_(k0) to satisfy a requirement of f₂′(x_(k0))=0 and a requirement of f₂″(x_(k0))<0, wherein x_(k0)ε{x_(k)}. f₂(x_(k0)) is a local maximum of f₂(x), and all the local maxima of f₂(x) may be depicted as {f₂(x_(k0))}. The first calculating module 13 selects a minimum of the local minima of f₁(x) as an approximate ringdown value, and selects a maximum of the local maxima of f₂(x) as an approximate ringup value. Referring to FIG. 4, f₁(x) has three local minima m₁,m₂,m₃, and m₂ (depicted as f₁(x₁₀)) as an approximate ringdown value . Referring to FIG. 5, f₂(x) has three local maxima n₁,n₂,n₃ , and n₂ (depicted as f₂(x₂₀) ) as an approximate ringup value. In another embodiment, the local minima and the local maxima may also be obtained according to the first derivative test.

The second calculating module 14 is configured for calculating an accurate ringdown value based on the approximate ringdown value, and further configured for calculating an accurate ringup value based on the approximate ringup value. To obtain a more accurate ringdown and a more accurate ringup, the second calculating module 14 determines the accurate ringdown value from the first ringdown data, and determines the accurate ringup value from the first ringup data.

FIG. 6 illustrates one embodiment of a ringdown fitting curve f₁(x) 602, and a curve 604 of the first ringdown data (thereinafter, “the ringdown curve”). The approximate ringdown value is located at a point P(x₁₀,f₁(x₁₀)). The second calculating module 14 calculates a curvature radius at the point P, and obtains an arc, which is a part of a curvature circle at the point P with a center O. The curvature may be defined as

${\kappa = {{\lim\limits_{{\Delta s}->0}{\frac{\Delta\phi}{\Delta s}}} = {\frac{f^{''}(x)}{\left( {1 + {f^{\prime}(x)}^{2}} \right)^{3/2}}}}},$

wherein φ is a tangential angle and s is an arc length. The curvature radius may be defined as

$r = {\frac{1}{\kappa} = {{\frac{\left( {1 + {f^{\prime}(x)}^{2}} \right)^{3/2}}{f^{''}(x)}}.}}$

In one example, a central angle of the circle (e.g. <MON) may be 60° thus allowing <MOP=<NOP. In this particular example, OM and ON respectively intersect the ringdown curve at a point A and a point B. The second calculating module 14 selects a set of data in the interval between the point A to the point B on the ringdown curve as a second ringdown data (depicted as {y_(2j)}). The second calculating module 14 further compares each y_(2j) with every other y_(2j), and selects a minimum of the second ringdown data as the accurate ringdown value. Likewise, FIG. 7 illustrates one embodiment of a ringup fitting curve f₂(x) 702, and a curve 704 of the first ringup data (thereinafter, “the ringup curve”). When the approximate ringup value is located at a point Q(x₂₀,f₂(x₂₀)), the second calculating module 14 selects a set of data in the interval between the point C to the point D on a curve of the first ringup data as a second ringup data (depicted as {y_(2k)}), and selects a maximum of the second ringup data as the accurate ringup value. The range of the central angle may be 5°˜180° in one embodiment.

Depending on the embodiment, other sets of data may be selected as the second ringdown data from the first ringdown data. For example, an arc with a center at the point P and a radius of the curvature radius at the point P may intersect a ringdown curve at a point A′ and at a point B′. Each y′_(2j) in the interval between the point A′ to the point B′ is compared with every other y′_(2j), and a minimum of all of the y′_(2j) is selected as the accurate ringdown value. Likewise, an accurate ringup value may be determined through a similar method.

The second calculating module 14 is further configured for calculating an accurate ringback value. As mentioned above, the difference between a ringdown and a ringup is a ringback. Therefore, the accurate ringback value is calculated by subtracting the accurate ringup value from the accurate ringdown value.

The result storing module 15 is configured for storing the accurate ringdown value, the accurate ringup value, and the accurate ringback value into a storage device, such as a hard disk drive.

FIG. 8 is a flowchart of one embodiment of a method for measuring various voltage characteristics, such as a ringdown, a ringup, and a ringback from an electronic signal. In step 801, the data selecting module 11 reads test data from a test instrument (e.g., an oscilloscope, multimeter, data acquisition unit (DAQ)), and selects a first ringdown data and a first ringup data from the test data (Referring to FIG. 3). The first ringdown data may be used for measuring a ringdown, and the first ringup data may be used for measuring a ringup. The test data may be depicted as {(x_(i),y_(i))}, wherein x_(i) denotes a time, y_(i) denotes a voltage at time x_(i). The first ringdown data may be depicted as {(x_(j),y_(j))}, and the first ringup data may be depicted as {(x_(k),y_(k))}, such that {(x_(j),y_(j))}ε{(x_(i),y_(i))}, and {(x_(k),y_(k))}ε{(x_(i),y_(i))}.

In step 802, The curve fitting module 12 fits a ringdown fitting curve f₁(x) to approximate the first ringdown data and a ringup fitting curve f₂(x) to approximate the first ringup data. The domain of f₁(x) is {x_(j)}, and the domain of f₂(x) is {x_(k)}. As mentioned above, the ringdown fitting curve f₁(x) and the ringup fitting curve f₂(x), in one embodiment, are in a form as follows:

${{y \approx {f(x)} \equiv {\sum\limits_{i = 0}^{m}{a_{i}{\varphi_{i}(x)}}}} = {a_{0} + {a_{1}x^{1}} + {a_{2}x^{2}} + \ldots + {a_{m}x^{m}}}},$

wherein a_(i)(i=0,1,2, . . . ,m) is a group of undetermined coefficients. The ringdown fitting curve f₁(x) and the ringup fitting curve f₂(x) are obtained by minimizing the value of

$\sum\limits_{i = 0}^{n}\left\lbrack {{f\left( x_{i} \right)} - y_{i}} \right\rbrack^{2}$

in one embodiment.

In step 803, according to a formula of a first order differential,

${{{f^{\prime}\left( x_{i} \right)} \approx \frac{{f\left( x_{i + 1} \right)} - {f\left( x_{i} \right)}}{x_{i + 1} - x_{i}}} = \frac{{f\left( x_{i + 1} \right)} - {f\left( x_{i} \right)}}{\Delta \; x}},$

and a formula of a second order differential,

${{f^{''}\left( x_{i} \right)} \approx \frac{{f^{\prime}\left( x_{i + 1} \right)} - {f^{\prime}\left( x_{i} \right)}}{x_{i + 1} - x_{i}}},$

the first calculating module 13 calculates a first order differential and a second order differential of f₁(x) for each x_(j), so as to obtain a first order differential set {f₁′(x_(j))} and a second order differential set {f₁″(x_(j))}. Likewise, the first calculating module 13 calculates a first order differential and a second order differential of f₂(x) for each x_(k), so as to obtain a first order differential set {f₂′(x_(k))} and a second order differential set {f₂″(x_(k))}.

In step 804, the first calculating module 13 determines each x_(j0) to satisfy a requirement of f₁′(x_(j0))=0 and a requirement of f₁″(x_(j0))>0 according to {f₁′(x_(j))} and {f₁″(x_(j))}, wherein x_(j0)ε{x_(j)}, and selects f₁(x_(j0)) as a local minimum of f₁(x). All the local minima of f₁(x) may be depicted as {f₁(x_(j0))}. Likewise, the first calculating module 13 determines each x_(k0) to satisfy a requirement of f₂′(x_(k0))=0 and a requirement of f₂″(x_(k0))<0 according to {f₂′(x_(k))} and {f₂(x_(k))}, wherein x_(k0)ε{x_(k)}, and selects f₂(x_(k0)) as a local maximum of f₂(x). All the local maxima of f₂(x) may be depicted as {f₂(x_(k0))}. As mentioned above, f₁(x) has three local minima m₁,m₂,m₃ in FIG. 4, and f₂(x) has three local maxima n₁,n₂,n₃ as shown in FIG. 5.

In step 805, the first calculating module 13 selects a minimum of the local minima of f₁(x) as an approximate ringdown value, and selects a maximum of the local maxima of f₂(x) as an approximate ringup value. In the embodiment of FIG. 4, m₂ (depicted as f₁(x₁₀)) is the approximate ringdown value. Similarly, in the embodiment of FIG. 5, n₂ (depicted as f₂(x₂₀)) is the approximate ringup value.

In step 806, the second calculating module 14 calculates a curvature radius at the point P(x₁₀,f₁(x₁₀)) (shown in FIG. 6) and a curvature radius at the point Q(x₂₀,f₂(x₂₀)) (shown in FIG. 7). As mentioned above, the curvature radius may be defined by

$r = {\frac{1}{\kappa} = {{\frac{\left( {1 + {f^{\prime}(x)}^{2}} \right)^{3/2}}{f^{''}(x)}}.}}$

In step 807, the second calculating module 14 selects a second ringdown data (depicted as {y_(2j)}) from the first ringdown data according to the curvature radius at the point P(x₁₀,f₁(x₁₀)), and selects a second ringup data (depicted as {y_(2k)}) from the first ringup data according to the curvature radius at the point Q(x₂₀,f₂(x₂₀)). As mentioned above, the second calculating module 14 selects a set of data in the interval between the point A to the point B on the ringdown curve as a second ringdown data (depicted as {y_(2j)}), and selects a set of data in the interval between the point C to the point D on the ringup curve as a second ringup data (depicted as {y_(2k)}).

In step 808, the second calculating module 14 compares each y_(2j) with every other y_(2j), and selects a minimum y_(2j) value as an accurate ringdown value. Likewise, the second calculating module 14 compares each y_(2k) with every other y_(2k), and selects a maximum y_(2k) value as an accurate ringup value.

In step 809, the second calculating module 14 calculates an accurate ringback value by subtracting the accurate ringup value from the accurate ringdown value.

In step 810, the result storing module 15 stores the accurate ringdown value, the accurate ringup value and the accurate ringback value into a storage device.

Although certain inventive embodiments of the present disclosure have been specifically described, the present disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the present disclosure without departing from the scope and spirit of the present disclosure. 

1. A system for measuring a ringup, a ringdown and a ringback of an electronic signal, the system comprising: a data selecting module configured for reading test data from a test instrument, further configured for selecting a first ringdown data and a first ringup data from the test data; a curve fitting module configured for fitting a ringdown fitting curve to approximate the first ringdown data, and further configured for fitting a ringup fitting curve to approximate the first ringup data; a first calculating module configured for calculating an approximate ringdown value according to the ringdown fitting curve, and further configured for calculating an approximate ringup value according to the ringup fitting curve; a second calculating module configured for calculating an accurate ringdown value based on the approximate ringdown value, configured for calculating an accurate ringup value based on the approximate ringup value, and further configured for calculating an accurate ringback value; and at least one processor that executes that data selecting module, the curve fitting module, the first calculating module, and the second calculating module.
 2. The system as claimed in claim 1, further comprising a result storing module configured for storing the accurate ringdown value, the accurate ringup value, and the accurate ringback value into a storage device.
 3. A computer-based method for measuring a ringup, a ringdown and a ringback of an electronic signal, the method comprising: reading test data from a test instrument, and selecting a first ringdown data and a first ringup data from the test data; fitting a ringdown fitting curve f₁(x) to approximate the first ringdown data, and fitting a ringup fitting curve f₂(x) to approximate the first ringup data; calculating an approximate ringdown value according to the ringdown fitting curve f₁(x), and calculating an approximate ringup value according to the ringup fitting curve f₂(x); calculating an accurate ringdown value based on the approximate ringdown value, and calculating an accurate ringup value based on the approximate ringup value; and calculating an accurate ringback value by subtracting the accurate ringup value from the accurate ringdown value.
 4. The method as claimed in claim 3, further comprising: storing the accurate ringdown value, the accurate ringup value and the accurate ringback value into a storage device.
 5. The method as claimed in claim 3, wherein the ringdown fitting curve f₁(x) and the ringup fitting curve f₂(x) are in a form as follows: ${{{f(x)} \equiv {\sum\limits_{i = 0}^{m}{a_{i}{\varphi_{i}(x)}}}} = {{a_{0}{\varphi_{0}(x)}} + {a_{1}{\varphi_{1}(x)}} + \ldots + {a_{m}{\varphi_{m}(x)}}}},$ wherein φ_(i)(x) ( i=0,1,2, . . . ,m ) is a group of linear independent functions, and a_(i) (i=0,1,2, . . . ,m) is a group of undetermined coefficients.
 6. The method as claimed in claim 5, wherein φ_(i)(x)=x^(i),i=0,1,2, . . . ,m.
 7. A computer-based method for measuring a ringup, a ringdown and a ringback of an electronic signal, the method comprising steps of: (a) reading test data from a test instrument, and selecting a first ringdown data and a first ringup data from the test data, wherein the test data is depicted as {(x_(i), y_(i))}, the first ringdown data is depicted as {(x_(j),y_(j))}, and the first ringup data is depicted as {(x_(k),y_(k))}; (b) fitting a ringdown fitting curve f₁(x) with a domain {x_(j)} to approximate the first ringdown data, and fitting a ringup fitting curve f₂(x) with a domain {x_(k)} to approximate the first ringup data; (c) calculating all local minima of the ringdown fitting curve f₁(x) and calculating all local maxima of the ringup fitting curve f₂(x); (d) selecting a minimum of the local minima of the ringdown fitting curve f₁(x) as an approximate ringdown value, and selecting a maximum of the local maxima of the ringup fitting curve f₂(x) as an approximate ringup value, wherein the approximate ringdown value is depicted as f₁(x₁₀), and the approximate ringup value is depicted as f₂(x₂₀); (e) selecting a second ringdown data from the first ringdown data according to the approximate ringdown value, and selecting a second ringup data from the first ringup data according to the approximate ringup value; (f) selecting a minimum of the second ringdown data as an accurate ringdown value, and selecting a maximum of the second ringup data as an accurate ringup value; and (g) calculating an accurate ringback value by subtracting the accurate ringup value from the accurate ringdown value.
 8. The method as claimed in claim 7, further comprising: storing the accurate ringdown value, the accurate ringup value and the accurate ringback value into a storage device.
 9. The method as claimed in claim 7, wherein the ringdown fitting curve f₁(x) and the ringup fitting curve f₂(x) are in a form as follows: ${{{f(x)} \equiv {\sum\limits_{i = 0}^{m}{a_{i}{\varphi_{i}(x)}}}} = {{a_{0}{\varphi_{0}(x)}} + {a_{1}{\varphi_{1}(x)}} + \ldots + {a_{m}{\varphi_{m}(x)}}}},$ wherein φ_(i)(x) (i=0,1,2, . . . ,m ) is a group of linear independent functions, and a_(i) (i=0,1,2, . . . ,m) is a group of undetermined coefficients.
 10. The method as claimed in claim 9, wherein φ_(i)(x)=x,i=0,1,2, . . . ,m.
 11. The method as claimed in claim 9, wherein the ringdown fitting curve f₁(x) and the ringup fitting curve f₂(x) are obtained by using a method of least squares.
 12. The method as claimed in claim 7, wherein the step (c) comprises: calculating a first order differential and a second order differential of f₁(x) for each x_(j), and calculating a first order differential and a second order differential of f₂(x) for each x_(k); and determining each x_(j0) to satisfy a requirement of f₁′(x_(j0))=0 and a requirement of f₁″(x_(j0))>0, wherein x_(j0)ε{x_(j)}, and selecting all f₁(x_(j0)) as local minima of f₁(x), and determining each x_(k0) to satisfy a requirement of f₂′(x_(k0))=0 and a requirement of f₂″(x_(k0))<0, wherein x_(k0)ε{x_(k)}, and selecting all f₂(x_(k0)) as local maxima of f₂(x).
 13. The method as claimed in claim 7, wherein the step (e) comprises: calculating a curvature radius at the point (x₁₀,f₁(x₁₀)) for f₁(x) and a curvature radius at the point (x₂₀,f₂(x₂₀)) for f₂(x); and selecting a second ringdown data from the first ringdown data according to the curvature radius at the point (x₁₀,f₁(x₁₀)) and a central angle α of a curvature circle corresponding to the curvature radius at the point (x₁₀,f₁(x₁₀)); and selecting a second ringdown data from the first ringup data according to the curvature radius at the point (x₂₀,f₂(x₂₀)) and a central angle α of a curvature circle corresponding to the curvature radius at the point (x₂₀,f₂(x₂₀)).
 14. The method as claimed in claim 13, wherein the range of the central angle α is 5 degrees to 180 degrees.
 15. A computer-readable medium having stored thereon instructions for measuring a ringup, a ringdown and a ringback of an electronic signal, when executed by a computer, causing the computer to: read test data from a test instrument, and select a first ringdown data and a first ringup data from the test data; fit a ringdown fitting curve f₁(x) to approximate the first ringdown data, and fit a ringup fitting curve f₂(x) to approximate the first ringup data; calculate an approximate ringdown value according to the ringdown fitting curve f₁(x), and calculate an approximate ringup value according to the ringup fitting curve f₂(x); calculate an accurate ringdown value based on the approximate ringdown value, and calculate an accurate ringup value based on the approximate ringup value; and calculate an accurate ringback value by subtracting the accurate ringup value from the accurate ringdown value.
 16. The computer-readable medium as claimed in claim 15, having stored thereon instructions, when executed by a computer, further causing the computer to: store the accurate ringdown value, the accurate ringup value, and the accurate ringback value into a storage device. 